@model test1.Models.Project

@{
    ViewData["Title"] = "Edit";
}

<h1>编辑</h1>

<hr />
<div class="row">
    <div class="col-md-4">
        <form asp-action="Edit">
            <div asp-validation-summary="ModelOnly" class="text-danger"></div>
            <div class="form-group">
                <label asp-for="organization" class="control-label">组织单位</label>
                <input asp-for="organization" class="form-control" />
                <span asp-validation-for="organization" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="status" class="control-label">项目状态</label>
                <input asp-for="status" class="form-control" />
                <span asp-validation-for="status" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="projectName" class="control-label">项目名称</label>
                <input asp-for="projectName" class="form-control" />
                <span asp-validation-for="projectName" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="investment" class="control-label">项目投资</label>
                <input asp-for="investment" class="form-control" />
                <span asp-validation-for="investment" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="starttime" class="control-label">开始时间</label>
                <input asp-for="starttime" class="form-control" />
                <span asp-validation-for="starttime" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="endtime" class="control-label">结束时间</label>
                <input asp-for="endtime" class="form-control" />
                <span asp-validation-for="endtime" class="text-danger"></span>
            </div>
            <div class="form-group">
                <input type="submit" value="确认编辑" class="btn btn-primary" />
            </div>
        </form>
    </div>
</div>

<div>
    <a asp-action="Index">返回列表</a>
</div>

@section Scripts {
    @{await Html.RenderPartialAsync("_ValidationScriptsPartial");}
}
